<?php
require_once dirname(__FILE__) . '/config/ConfigLoader.php';
global $_GCONFIG;
/**
 * 全局变量声明
 */
global $_G;

session_start();
require_once dirname(dirname(__FILE__)) . '/function/function_core.php';
if (get_get("ajax") == "true") {
    $_G["ajax"] = true;
}

require_once dirname(__FILE__) . '/database/DBManager.php';
require_once getTablesFile() . "/table_user_login.php";
require_once getTablesFile() . "/table_user_verify.php";
require_once getTablesFile() . "/table_user_notice.php";
require_once getTablesFile() . "/table_resource_record.php";
require_once getTablesFile() . "/table_user_profile.php";
require_once getTablesFile() . "/table_parents_relationship.php";
require_once getTablesFile() . "/table_permission_group.php";
require_once getTablesFile() . "/table_permission_user.php";
require_once getTablesFile() . "/table_permission_sort.php";
require_once getTablesFile() . "/table_permission_list.php";
require_once getTablesFile() . "/table_home_setting.php";
require_once getTablesFile() . "/table_home_activity.php";
require_once getTablesFile() . "/table_home_activity_comment.php";
require_once getTablesFile() . "/table_home_leavemessage.php";
require_once getTablesFile() . "/table_home_notice.php";
require_once getTablesFile() . "/table_manager_student.php";
require_once getTablesFile() . "/table_manager_linked.php";
require_once getTablesFile() . "/table_manager_classes.php";
require_once getTablesFile() . "/table_manager_teacher.php";
require_once getTablesFile() . "/table_manager_subject.php";
require_once getTablesFile() . "/table_manager_class_apply.php";
require_once getTablesFile() . "/table_manager_teacher_class.php";
require_once getTablesFile() . "/table_question_all_question.php";
require_once getTablesFile() . "/table_question_collection.php";
require_once getTablesFile() . "/table_question_comments.php";
require_once getTablesFile() . "/table_home_leavemessage_block_list.php";

load_session();

?>